package com.geek.gkpush.dal.model;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;

/**
 * <h1>事件消息扫描模型对象。</h1><br/>
 *
 * <h1><br/><a href="https://u.geekbang.org/subject/arch3/100614201">Java 业务架构实战营：https://u.geekbang.org/subject/arch3/100614201</a></h1><br/><h1><a href="https://gitee.com/ylimhhmily/BizArchPracticeCamp">Java 业务架构实战营代码地址：https://gitee.com/ylimhhmily/BizArchPracticeCamp</a></h1><br/><h1><a href="https://u.geekbang.org/subject/java4th/1001148?source=app_share">高级 Java 工程体系课 2023 版：https://u.geekbang.org/subject/java4th/1001148?source=app_share</a></h1><br/><h1><a href="https://time.geekbang.org/column/intro/100312101?tab=catalog">Dubbo 源码剖析与实战：https://time.geekbang.org/column/intro/100312101?tab=catalog</a></h1>
 *
 * @author hmilyylimh
 *         ^_^
 * @version 0.0.1
 *         ^_^
 * @date 2023/10/2
 *
 */
@Getter
@Setter
@ToString
public class EventMsgScanModel implements Serializable {

    private static final long serialVersionUID = 7522479983871095717L;

    /** <h2>状态列表</h2> **/
    private List<String> statusList;

    /** <h2>开始时间</h2> **/
    private Long beginTimeMillis;

    /** <h2>结束时间</h2> **/
    private Long endTimeMillis;

    /** <h2>分片总数</h2> **/
    private int shardingTotalCount;

    /** <h2>实例分片序号，从 0 开始，一直到 size - 1 截止。</h2> **/
    private int shardingItemNo;

    /** <h2>每页查询多少条记录</h2> **/
    private int pageSize;
}